﻿using JTTD.Common.Enum;
using JTTD.Common.Helper;
using System;
using System.Collections.Generic;
using System.Text;

namespace JTTD.Domain.Dtos.CompanyBill.Response
{
    /// <summary>
    /// 店铺账单结果dto
    /// </summary>
    public class CompanyBillResponseDto : BaseResponseDto
    {
        /// <summary>
        /// 店铺id
        /// </summary>
        public int ShopId { get; set; }

        /// <summary>
        /// 类型
        /// </summary>
        public string Type { get; set; }

        /// <summary>
        /// 类型字符串
        /// </summary>
        public string TypeStr => Type.ToString();

        /// <summary>
        /// 单价
        /// </summary>
        public string UnitPrice { get; set; }

        /// <summary>
        /// 总费
        /// </summary>
        public string TotalFee { get; set; }

        /// <summary>
        /// 账单季度
        /// </summary>
        public string PayDate { get; set; }

        /// <summary>
        /// 面积
        /// </summary>
        public string Area { get; set; }

        /// <summary>
        /// 最后付款日
        /// </summary>
        public DateTime LastDate { get; set; }

        /// <summary>
        /// 最后付款日字符串
        /// </summary>
        public string LastDateStr => LastDate.ToString("yyyy-MM-dd");

        /// <summary>
        /// 是否付款
        /// </summary>
        public bool IsPay { get; set; } = false;

        /// <summary>
        /// 备注
        /// </summary>
        public string Remarks { get; set; }

        /// <summary>
        /// 是否删除
        /// </summary>
        public bool IsDelete { get; set; }
    }
}
